import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 航线起点
 * @author: fan
 * @date: 2021/10/11:9:55
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Point {

    /*
     * 经线是竖的(纵坐标)，横的是纬线(横坐标)
     */

    /**
     * 纬度
     */
    private Double lat;

    /**
     * 经度
     */
    private Double lon;

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    @Override
    public String toString() {
        return "Point{" +
                "lat=" + lat +
                ", lon=" + lon +
                '}';
    }
}
